package com.atguigu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author tony.tang
 * @email tony_javadream@163.com
 * @date 2020-11-24 00:59:22
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询分类数据集合
     * @return
     */
    List<CategoryEntity> listWithTree();

    /**
     * 根据ID删除
     * @param aslist
     */
    public  void deleBatchIds(List<Long> aslist);

}

